package com.example.cafe.work.service;

import com.example.cafe.work.dto.Result;
import com.example.cafe.work.model.Coffee;
import com.example.cafe.work.model.Order;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.ArrayList;
import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author hua
 * @since 2024-09-16
 */
public interface OrderService extends IService<Order> {

    Result createOrder(List<Coffee> coffee, String userId);

    Result queryOrder(String state, String userId, int page, int size);
}
